package com.glsc.ngateway.common.base.repo.oracle.ecology;

import com.glsc.ngateway.common.base.domain.oracle.ecology.Hrmresource;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 只允许ldap定时同步时使用
 */
@Repository
public interface HrmresourceRepository extends JpaRepository<Hrmresource, Integer>, JpaSpecificationExecutor<Hrmresource> {
    List<Hrmresource> findAllByStatusIn(List<Integer> strings);

    Hrmresource findByLoginid(String loginid);
}
